package com.zbkj.common.request.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Auther:
 * @Date: 2024/7/11 17:23
 * @Description:
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "AdminUserPwdRequest对象", description = "服务端-客户修改密码请求对象")
public class AdminUserPwdRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("客户端用户ID-更新时赋值")
    @NotNull(message = "缺少用户id参数")
    private Long userId;

    @ApiModelProperty(value = "原密码")
    @NotBlank(message = "密码不能为空")
    private String pwd;

}
